﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>管理员管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../layui/css/layui.css" media="all">
<link rel="stylesheet" href="css/myCss.css">
<script src="../layui/layui.js" charset="utf-8"></script>
<script src="js/jquery-1.12.4.js" type="text/javascript"></script>
<script type="text/javascript">
    function getUrlParam(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
        var r = window.location.search.substr(1).match(reg);  //匹配目标参数
        if (r != null) return unescape(r[2]); return null; //返回参数值
    }
    //获取图片真实宽高
    function getImageWidth(url, callback) {
        var img = new Image();
        img.src = url;

        // 如果图片被缓存，则直接返回缓存数据
        if (img.complete) {
            callback(img.width, img.height);
        } else {
            // 完全加载完毕的事件
            img.onload = function () {
                callback(img.width, img.height);
            }
        }
    }
</script>
 
    <script type="text/javascript">

        layui.use(['form'], function () {
            var form = layui.form();
            form.render();
        });
   
    </script>
</head>
<body>

    <p>
        <blockquote class="layui-elem-quote">
            新增一个管理员</blockquote>
    </p>
    &nbsp;<a href="javascript:;" class="layui-btn layui-btn-normal">操作管理员</a> <a href="adminUserList.html"
        class="layui-btn  ">管理员列表</a>
    <hr />
    <br />
    <div class="layui-tab-item layui-show">
        <form class="layui-form" action="perform/useradd_do.html?action=intupd" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">
                用户名</label>
            <div class="layui-input-block">

                <input type="text" name="username" lay-verify="required"  
                placeholder="请输入用户名" value="" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                密码</label>
            <div class="layui-input-inline">
                <input type="password" name="pass" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                重复密码</label>
            <div class="layui-input-inline">
                <input type="password" name="passqr" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                真实姓名</label>
            <div class="layui-input-inline">
                <input type="text" name="name" autocomplete="off" lay-verify="required" value="" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                级别</label>
            <div class="layui-input-block">

                <input name="jibie" type="radio" id="guanliy" value="管理员" title="管理员级别" checked="checked" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input name="jibie" type="radio" value="普通" id="putong" title="普通级别" />
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="hidden" name="zhuce" value="ds623262354sdsdg" />
                <button class="layui-btn" lay-submit="" lay-filter="demo1">
                    立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">
                    重置</button>
            </div>
        </div>
        </form>
</body>
</html>
